//
//  FQDSettingOption.m
//  FakeQDaily
//
//  Created by mewxiv on 9/9/16.
//  Copyright © 2016 Xensius. All rights reserved.
//

#import "FQDSettingOption.h"

@implementation FQDSettingOption

+ (instancetype)optionWithTitle:(NSString *)title
{
    return [[[self class] alloc] initWithTitle:title cellClass:[UITableViewCell class]];
}

+ (instancetype)optionWithTitle:(NSString *)title cellClass:(Class)cellCalss
{
    return [[[self class] alloc] initWithTitle:title cellClass:cellCalss];
}

- (instancetype)init
{
    self = [self initWithTitle:nil cellClass:[UITableViewCell class]];
    return self;
}

- (instancetype)initWithCellClass:(Class)cellClass
{
    return [self initWithTitle:nil cellClass:cellClass];
}

- (instancetype)initWithTitle:(NSString *)title cellClass:(Class)cellClass
{
    self = [super init];
    if (self) {
        _title = title;
        cellClass = cellClass;
        _hasMore = YES;
    }
    return self;
}

@end
